{%extend name="Public:layout"/%}

{%block name="title"%}<h2 class="m20">修改密码</h2>{%/block%} 
{%block name="contents"%} 
<form onsubmit="return false" stverify="true" erroappend="true" ajaxpost="true" action="{%:U('/admin/admin/changepwd')%}">
  <table class="table table-listing table-hovered">
    <tbody>
    <tr>
      <td class="span4">原密码：</td>
      <td><input class="input" name="oldpass" type="password" opt="rq" id="oldpass"></td>
    </tr>
    <tr>
      <td class="span4">新密码：</td>
      <td><input class="input" name="newpass" type="password" opt="rq" id="newpass"></td>
    </tr>
    <tr>
      <td class="span4">确认新密码</td>
      <td><input class="input" name="newpassagain" type="password" id="newpassagain" opt="rq compare" compare="newpass"></td>
    </tr>
    <tr>
      <td class="span4"></td>
      <td>
        <input type="submit" value="提交" class="btn btn-blue">
      </td>
    </tr>
    </tbody>
  </table>
</form>
{%/block%}

{%block name="js"%} 
<script src="__JAVASCRIPT__/ST.Verify.js"></script>
<script>
  ST.init();
</script>
 {%/block%}